<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!doctype html>
<html class="no-js">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="keywords" content="index">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <link rel="icon" type="image/png" href="../AmazeUI-2.4.2/admin/i/favicon.png">
  <link rel="apple-touch-icon-precomposed" href="../AmazeUI-2.4.2/admin/i/app-icon72x72@2x.png">
  <meta name="apple-mobile-web-app-title" content="Amaze UI" />
  <link rel="stylesheet" href="../AmazeUI-2.4.2/admin/css/amazeui.min.css"/>
  <link rel="stylesheet" href="../AmazeUI-2.4.2/admin/css/admin.css">
  <script src="../AmazeUI-2.4.2/admin/js/jquery.min.js"></script>
  <script src="../AmazeUI-2.4.2/admin/js/app.js"></script>
</head>


<body>

	
    <div class="listbiaoti am-cf">
      <ul class="am-icon-flag on">修改商品</ul>
        
    </div>
	
    <div class="fbneirong">
      <form  action="updateProduct_xiugai" class="am-form"  method="post" enctype="multipart/form-data">
        <div class="am-form-group am-cf">
          <div class="zuo">商品名称：</div>
          <div class="you">
            <input type="text" class="am-input-sm" id="name" name="name" value="${product.name}" >
          </div>
        </div>

        <div class="am-form-group am-cf">
          <div class="zuo">id：</div>
          <div class="you">
            <input type="text" class="am-input-sm" id="id" name="id" value="${product.id}"  onfocus=this.blur()>
          </div>
        </div>

        <div class="am-form-group am-cf">
          <div class="zuo">分类：</div>
          <div class="you">
              <select class="am-input-sm" id="classifty" name="classifty">
                  <option value="路由器">路由器</option>
                  <option value="交换机">交换机</option>
                  <option value="网络配件">网络配件</option>
                  <option value="网络存储">网络存储</option>
              </select>
          </div>
        </div>

        <div class="am-form-group am-cf">
          <div class="zuo">品牌：</div>
          <div class="you">
            <input type="text" class="am-input-sm" id="brand" name="brand" value="${product.brand}">
          </div>
        </div>

        <div class="am-form-group am-cf">
          <div class="zuo">价格：</div>
          <div class="you">
            <input type="number" class="am-input-sm" id="price" name="price" value="${product.price}">
          </div>
        </div>

        <div class="am-form-group am-cf">

          <div class="zuo">库存：</div>
          <div class="you">
            <input type="number" class="am-input-sm" id="store" name="store" value="${product.store}">
          </div>
        </div>
        <div class="am-form-group am-cf">
          <div class="zuo">描述：</div>
          <div class="you">
            <textarea class="" rows="2" id="introduce" name="introduce" aria-valuenow="${product.introduce}"></textarea>
          </div>
        </div>
          
        <div class="am-form-group am-cf">
          <div class="zuo">产品图片：</div>
          <div class="you" style="height: 45px;">
            <input type="file" id="path" name="path">
            <p class="am-form-help">请选择要上传的文件...</p>
          </div>
        </div>
        
        
        <div class="am-form-group am-cf">
          <div class="zuo">内容：</div>
          <div class="you">
            <textarea class="" rows="2" id="content" name="content" aria-valuenow="${product.content}"></textarea>
          </div>
        </div>

        <div class="am-form-group am-cf">
          <div class="you" style="margin-left: 11%;">
             <button type="submit" name="submit" id="submit" class="am-btn am-btn-secondary am-radius">发布并上架</button>

          </div>
        </div>
      </form>
    </div>

  

</div>




</div>

</div>




</div>

<!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="assets/js/polyfill/rem.min.js"></script>
<script src="assets/js/polyfill/respond.min.js"></script>
<script src="assets/js/amazeui.legacy.js"></script>
<![endif]--> 

<!--[if (gte IE 9)|!(IE)]><!--> 
<script src="assets/js/amazeui.min.js"></script>
<!--<![endif]-->



</body>
</html>